// Registry.h: interface for the Registry class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_REGISTRY_H__4A69C5EE_C4C5_4301_810C_AA4855BCAE89__INCLUDED_)
#define AFX_REGISTRY_H__4A69C5EE_C4C5_4301_810C_AA4855BCAE89__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class Registry
{
public:
	Registry(const std::string& strEntry);
	virtual ~Registry();

	DWORD Read(const std::string& strKeyName, const std::string& strValueName, DWORD dwDefault);
	std::string Read(const std::string& strKeyName, const std::string& strValueName, const std::string& strDefault);

	void Write(const std::string& strKeyName, const std::string& strValueName, DWORD dwValue);
	void Write(const std::string& strKeyName, const std::string& strValueName, const std::string& strValue);

	void DeleteKey(const std::string& strKeyName);

protected:
	std::string m_strEntry;
	std::string m_strValue;
};

#endif // !defined(AFX_REGISTRY_H__4A69C5EE_C4C5_4301_810C_AA4855BCAE89__INCLUDED_)
